﻿package plugin.touzilicai
{
    import cmd.*;
    import manager.*;
    import pluginfw.nio.*;

    public class TouziSender extends Object
    {

        public function TouziSender()
        {
            return;
        }// end function

        public static function _29GetTouziInfo() : void
        {
            var _loc_1:* = new Output();
            PluginManager.instance.sendToBufferServer("activity", CMDActivity._29TOGETTOUZIINFO, _loc_1);
            return;
        }// end function

        public static function _25touzi(param1:int, param2:int) : void
        {
            var _loc_3:* = new Output();
            _loc_3.writeVarInt(param1, false);
            _loc_3.writeVarInt(param2, false);
            PluginManager.instance.sendToBufferServer("activity", CMDActivity._25TOTOUZI, _loc_3);
            return;
        }// end function

        public static function _27touziLingqu(param1:int, param2:int, param3:Array) : void
        {
            var _loc_4:* = new Output();
            new Output().writeVarInt(param1, false);
            _loc_4.writeVarInt(param2, false);
            _loc_4.writeShort(param3.length);
            var _loc_5:int = 0;
            while (_loc_5 < param3.length)
            {
                
                _loc_4.writeVarInt(param3[_loc_5], false);
                _loc_5++;
            }
            PluginManager.instance.sendToBufferServer("activity", CMDActivity._27TOTOUZILINGQU, _loc_4);
            return;
        }// end function

    }
}
